﻿<%@ Page Title="" Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="ListaCandidatos.aspx.cs" Inherits="_ListaCandidatos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>Lista Inscritos</title>
    <style type="text/css">
     input[type=text], input[type=radio], select
     {
         padding: 5px;
         font: 20px tahoma, arial;
     }
     a 
     {
         text-decoration: none;         
     }
     a:hover 
     {
         text-decoration: underline;
     }
    .mail
    {
        font: 20px tahoma, arial;
    }
    .descricao 
    {
        font: 10px tahoma, arial;
    }
    .tabela
    {
        padding: 5px;
        font: 12px tahoma, arial;
        text-transform:uppercase;
    }
    img 
    {
        border: none;
    }
    table img 
    {
        margin-top: 2px;
        margin-bottom: 2px;
    }
        .style1
        {
            width: 14px;
            height: 22px;
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript">muda(candidato, '#0C5C7E');</script>

    <h1 style="margin-top:10px;">Resultado da Busca</h1>

    <table style="width:496px; font: 11px arial;">
        <tr>
            <td style="width:20px;">
                <img alt="Capacitação" class="style1" src="../figuras/icoLaranja.gif" /></td>
            <td style="width:104px;">
                <a href="javascript: void(0)" onclick="window.open('../capacitacao.html','Capacitação','width=520,height=100');return false;">Capacitação</a></td>
            <td style="width:20px;">
                <img alt="Aperfeiçoamento" class="style1" src="../figuras/icoAzul.gif" /></td>
            <td style="width:104px;">
                <a href="javascript: void(0)" onclick="window.open('../aperfeicoamento.html','Aperfeiçoamento','width=520,height=100');return false;">Aperfeiçoamento</a></td>
            <td style="width:20px;">
                <img alt="Alfabetização ecológica" class="style1" src="../figuras/icoLilas.gif" /></td>
            <td style="width:104px;">
                <a href="javascript: void(0)" onclick="window.open('../informatica.html','Capacitação','width=520,height=100');return false;">
                Informática</a></td>
            <td style="width:20px;">
                <img alt="Idiomas" class="style1" src="../figuras/icoRosa.gif" /></td>
            <td>
                <a href="javascript: void(0)" onclick="window.open('../idiomas.html','Capacitação','width=520,height=100');return false;">Idiomas</a></td>
        </tr>
        <tr>
            <td style="width:20px;">
                <img alt="Conhecimentos complementares" class="style1" src="../figuras/icoVerde.gif" /></td>
            <td>
                <a href="javascript: void(0)" onclick="window.open('../atividadescomplementares.html','Capacitação','width=520,height=100');return false;">Atividades Complementares</a></td>
            <td style="width:20px;">
                <img alt="Aprendiz" class="style1" src="../figuras/icoCinza.gif" /></td>
            <td>
                <a href="javascript: void(0)" onclick="window.open('../aprendizagem.html','Capacitação','width=520,height=110');return false;">Aprendiz</a></td>
            <td style="width:20px;">
                <img alt="Espaço Jovem" class="style1" src="../figuras/icoVermelho.gif" /></td>
            <td colspan="3">
            <a href="javascript: void(0)" onclick="window.open('../experienciaprofissional.html','Capacitação','width=520,height=110');return false;">Experiência profissional</a></td>
        </tr>
        <tr>
            <td colspan="8">
                <span class="descricao">*Clique no nome para ver a qualificação do candidato</span></td>
        </tr>
    </table>

<table style="width:430px;" align="center">
<tr><td>
    <asp:GridView ID="gCandidatos" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" DataSourceID="dsAlunos" EnableModelValidation="True" 
        ForeColor="#333333" GridLines="None" Width="496px" 
        onrowdatabound="GridView1_RowDataBound" CssClass="tabela" 
        EmptyDataText="Não existem registros que atendem ao critério">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="CodInscrito, CPF" 
                DataNavigateUrlFormatString="dadosInscrito.aspx?cod={0}&cpf={1}" 
                DataTextField="NomeAluno" HeaderText="Nome" >
            <HeaderStyle HorizontalAlign="Left" CssClass="tabela" />
            <ItemStyle Width="313px" HorizontalAlign="Left" CssClass="tabela" />
            </asp:HyperLinkField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Label ID="lblCapac" runat="server" Text='<%# Eval("Capacitacao") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="24px" />
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Label ID="lblAperf" runat="server" Text='<%# Eval("Aperfeicoamento") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="25px" />
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Label ID="lblInformatica" runat="server" Text='<%# Eval("Informatica") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="25px" />
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Label ID="lblIdiom" runat="server" Text='<%# Eval("Idioma") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="25px" />
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Label ID="lblConco" runat="server" Text='<%# Eval("AtivComplementares") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="25px" />
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Label ID="lblApren" runat="server" Text='<%# Eval("Aprendiz") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="24px" />
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Label ID="lblExperiencia" runat="server" Text='<%# Eval("Experiencia") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle Width="25px" />
            </asp:TemplateField>

        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    </asp:GridView>
    <asp:SqlDataSource ID="dsAlunos" runat="server" 
        ConnectionString="<%$ ConnectionStrings:conexao_intranet_ler %>" 
        ProviderName="<%$ ConnectionStrings:conexao_intranet_ler.ProviderName %>" SelectCommand=""></asp:SqlDataSource>
    </td></tr>
<tr><td align="right" style="height: 4px;">
    </td></tr>
<tr><td align="left" style="height: 18px;">
    </td></tr>
<tr><td align="right" style="height: 4px;">
    </td></tr>
</table>
        <div style="text-align:right"><a href="javascript:document.location.href='buscacandidato.aspx';">
            <img alt="Voltar" src="../figuras/bVoltar.gif" /></a>
            </div>

</asp:Content>

